<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="/navbar::header(${movie.getName()})">
</head>
<body>
<!--导航栏-->
<nav th:replace="/navbar::naver"></nav>
<!--内容-->
<div class="container">
    <br>
    <h2 class="page-heading" th:text="${movie.name}"></h2>
</div>
<hr>
<div class="dy2 movie">
    <div class="movie__images1" style="width: 256px;height: 356px;margin-left: 10%;margin-top: 3%">
        <img alt="" style="width: 250px;height: 350px" th:src="@{/static/img/upload/} + ${movie.img}"/>
    </div>
    <div>
        <div class="bj2">
            <p class="movie__option" style="font-size: 30px" th:text="${movie.name}"></p>
            <br>
            <br>
            <br>
            <p class="movie__time" style="font-size: 18px" th:text="${movie.duration}+'  min'"></p>
            <p class="movie__option" style="font-size: 15px" th:text="'地区:  '+${movie.region}"></p>
            <p class="movie__option" style="font-size: 15px" th:text="'类型:  '+${movie.types}"></p>
            <p class="movie__option" style="font-size: 15px" th:text="'上映时间:  '+${movie.onlin}"></p>
            <p class="movie__option" style="font-size: 15px" th:text="'价格:  '+${movie.price}"></p>
        </div>
        <div class="an">
            <a class="btn btn-md btn--warning" th:href="@{/movie/buy(id=${movie.mId})}">购买电影</a>
        </div>
        <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
        <hr>
    </div>
    <br>
    <br>
    <div class="xx">
        <h2 class="page-heading" style="margin-left: 5%">剧情</h2>
        <p style="margin-left: 5%" th:text="${movie.content}"></p>
    </div>
    <div class="cc">
        <h2 class="page-heading" style="margin-left: 5%">场次</h2>
    </div>
    <div class="wz2">
        <div class="wz" th:each="slice:${slices}" th:text="'&nbsp;&nbsp;'+${slice.cinema}+'&ensp;'+${slice.site}"></div>
    </div>
    <br><br>
    <div class="cc1">
        <a class="liss" th:each="slice:${slices}" th:text="${slice.LId}"></a>

    </div>
    <br>
</div>

<!--页尾-->
<footer th:replace="/navbar::footer"></footer>
</body>
</html>